package com.xiaozhen.blog.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @create 2023-05-15 16:57
 */
@Controller
@RequestMapping("/error")
public class ErrorController {

    @GetMapping("/403")
    public String accessError(){
        return "/error/403";
    }

    @GetMapping("/401")
    public String AuthenticationError(){
        return "/error/403";
    }
}
